package cn.e4j.modular.crm.entity;

import cn.e4j.core.typewrap.PO;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * <p>
 * 
 * </p>
 *
 * @author miaoyl
 * @since 2019-04-22
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("GWBL_T")
public class GwblT extends PO<GwblT> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "GWBLENT", type = IdType.INPUT)
    private String GWBLENT;

    private String GWBLNAME;

    private String GWBLID;

    private BigDecimal GWBLSEQ;

    private String GWBL001;

    private String GWBL002;

    private String GWBL003;

    private String GWBL004;

    private String GWBL005;

    private String GWBL006;

    private String GWBL007;

    private String GWBL008;

    private String GWBL009;

    private String GWBLPLANT;

    private String GWBLLEGAL;

    private String GWBLACTI;

    @TableField(fill = FieldFill.INSERT)
    private String GWBLUSER;

    @TableField(fill = FieldFill.INSERT)
    private String GWBLGRUP;

    @TableField(fill = FieldFill.UPDATE)
    private String GWBLMODU;

    @TableField(fill = FieldFill.INSERT)
    private String GWBLTIME;

    @TableField(fill = FieldFill.INSERT)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate GWBLDATE;

    @TableField(fill = FieldFill.INSERT)
    private String GWBLORIG;

    @TableField(fill = FieldFill.INSERT)
    private String GWBLORIU;



    @Override
    protected Serializable pkVal() {
        return this.GWBLENT;
    }

}
